package cn.rkylin.oms.base.batch.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ruixue.oss.ServiceException;

import cn.rkylin.core.service.ApolloService;
import cn.rkylin.oms.base.batch.dao.ISkuBatchDetailDAO;
import cn.rkylin.oms.base.batch.service.ISkuBatchDetailService;
import cn.rkylin.oms.base.batch.vo.SkuBatchDetailVO;

@Service
public class SkuBatchDetailServiceImpl extends ApolloService implements ISkuBatchDetailService {
    @Autowired
    ISkuBatchDetailDAO skuBatchDetailDAO;
    public List<SkuBatchDetailVO> querySkuBatchDetailList(SkuBatchDetailVO skuBatchDetailVO) throws ServiceException{
        try {
            return skuBatchDetailDAO.selectSkuBatchDetailList(skuBatchDetailVO);
        } catch (Exception e) {
            throw new ServiceException("批次效期数据获取错误",e);
        }
    }
}
